package com.sky.dto;


import com.alibaba.fastjson.annotation.JSONField;
import com.sky.common.EnumDeserializer;
import com.sky.common.EnumSerializer;
import com.sky.enumeration.UserStatus;
import lombok.Data;
import lombok.ToString;

@Data
@ToString
public class User {
    //    @JSONField(name = "user_status",serializeUsing = BaseEnumCodec.class,deserializeUsing = BaseEnumCodec.class)
    @JSONField(name = "user_status", serializeUsing = EnumSerializer.class, deserializeUsing = EnumDeserializer.class)
    private UserStatus status;
}
